package com.gxa.service.parking.impl;



import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gxa.entity.parking.VehicleWSelect;
import com.gxa.entity.parking.VehicleWarn;
import com.gxa.mapper.parking.VehicleWarnMapper;
import com.gxa.service.parking.VehicleWarnService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author yjl
 * @since 2022-10-11 10:05:39
 */
@Service
public class VehicleWarnServiceImpl extends ServiceImpl<VehicleWarnMapper, VehicleWarn> implements VehicleWarnService {
    @Autowired
    private VehicleWarnMapper vehicleWarnMapper;
    @Override
    public List<VehicleWarn> selectAll() {

        return vehicleWarnMapper.selectAll();
    }

    @Override
    public VehicleWarn selectById(Integer id) {

        return vehicleWarnMapper.selectByid(id);
    }

    @Override
    public List<VehicleWarn> selectCondition(VehicleWSelect vehicleWSelect) {
        return vehicleWarnMapper.selectByCondition(vehicleWSelect);
    }


}
